package define;

public class array3 {
    public static void main(String[] args) {
        int[] ages = {12, 24, 36};



        //System.out.println(ages[0]);
        //System.out.println(ages[1]);
        //System.out.println(ages[2]);




        //for (int i = 0; i < 3; i++) {
            //System.out.println(ages[i]);

        //}
        for (int i = 0; i < ages.length; i++) {
            System.out.println(ages[i]);

        }
    }
}
